*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

address,
em,
i {
    font-style: normal;
}

b {
    font-weight: normal;
}

a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    vertical-align: middle;
    font: inherit;
    color: inherit;
    outline: none;
}

button:focus,
input:focus,
textarea:focus {
    outline: none;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
}

img {
    border: 0;
}

ul,
ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
table th {
    font-weight: normal;
}

audio,
video,
canvas {
    display: inline-block;
    vertical-align: baseline;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-ms-clear {
    display: none;
}

input::-ms-reveal {
    display: none;
}

.h {
    display: none;
}

.oh {
    overflow: hidden;
}

.c:after {
    content: '';
    display: table;
    clear: both;
}

.l {
    float: left;
}

.r {
    float: right;
}

.dtc {
    display: table-cell;
    width: 9999px;
}

.es {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc {
    text-align: center;
}

.mask {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.75);
}

.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex_sb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.flex_vsb {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.l-list_3 .l-item {
    float: left;
    width: 33.3333%;
}
.l-list_3 .l-item:nth-child(3n-1) > div {
    margin: 0 auto;
}
.l-list_3 .l-item:nth-child(3n) > div {
    float: right;
}

.l-list_4 .l-item {
    float: left;
    width: 25%;
}
.l-list_4 .l-item:nth-child(4n-2) > div,
.l-list_4 .l-item:nth-child(4n-2) > a,
.l-list_4 .l-item:nth-child(4n-1) > div,
.l-list_4 .l-item:nth-child(4n-1) > a {
    margin: 0 auto;
}
.l-list_4 .l-item:nth-child(4n) > div,
.l-list_4 .l-item:nth-child(4n) > a {
    float: right;
}

input[type='file'],
input[type='radio'],
input[type='checkbox'] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
}

select {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
}

textarea::-webkit-input-placeholder,
input[type='text']::-webkit-input-placeholder {
    color: #999;
}

textarea:-moz-placeholder,
input[type='text']:-moz-placeholder {
    color: #999;
}

textarea::-moz-placeholder,
input[type='text']::-moz-placeholder {
    color: #999;
}

textarea:-ms-input-placeholder,
input[type='text']:-ms-input-placeholder {
    color: #999;
}

/* --------- layout --------- */
.c-image {
    position: relative;
    overflow: hidden;
}
.c-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: 0.3s;
    width: 100%;
}

.l-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.c-select {
    position: relative;
    display: inline-block;
    min-width: 220px;
    padding: 12px 50px 12px 15px;
    vertical-align: middle;
    border: 1px solid #f0f0f0;
    font-size: 16px;
    color: #909090;
    cursor: pointer;
}
.c-select.on .deixis {
    transform: translateY(-50%) rotate(180deg);
}
.c-select .view {
    width: 100%;
    border: 0;
    cursor: pointer;
}
.c-select .deixis {
    transition: 0.3s;
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 1;
    transform: translateY(-50%);
    color: #cdcdcd;
}
.c-select .list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    width: 100%;
    line-height: 24px;
    padding: 12px 15px;
    border: solid 1px #f0f0f0;
    background-color: #fff;
}

.c-datetimepicker {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.c-datetimepicker .block {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 38px;
    height: 40px;
    background-color: #eee;
}
.c-datetimepicker .block .iconfont {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #666;
}
.c-datetimepicker .data {
    width: 218px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #f0f0f0;
    font-size: 16px;
}

.c-checkbox {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    border: 1px solid #a6a7b1;
    background-color: transparent;
    cursor: pointer;
}
.c-checkbox.on {
    border-color: #eb5a5a;
    background-color: #eb5a5a;
}
.c-checkbox.on .iconfont {
    display: inline-block;
}
.c-checkbox .iconfont {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
    font-size: 12px;
    color: #fff;
}

.c-radio {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    border: 1px solid #cdcdcd;
    border-radius: 100%;
    background-color: #fff;
}
.c-radio.on {
    border-color: #eb5a5a;
}
.c-radio.on::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #eb5a5a;
}

body {
    line-height: 1.2;
    font-family: 'Microsoft Yahei', 'Hiragino Sans GB', STHeiti, 'WenQuanYi Micro Hei', 'Droid Sans Fallback', SimSun, sans-serif;
    font-size: 16px;
    color: #333;
    word-wrap: break-word;
    word-break: normal;
}
